package ar.edu.itba.it.paw.domain;

public class OrderProducts {

	String value;
	boolean ascending;
	int amount;
	
	public OrderProducts(String value, boolean flag, int amount){
		this.value = value;
		this.ascending = flag;
		this.amount = amount;
	}
	
	public OrderProducts(String value){
		this.value = value;
		this.ascending = true;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public boolean isAscending() {
		return ascending;
	}

	public void setAscending(boolean ascending) {
		this.ascending = ascending;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}
	
	
}
